﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/MasterAdmin.master" AutoEventWireup="true" CodeFile="Emprego.aspx.cs" Inherits="Admin_Emprego_Emprego" %>


<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="header_search" Runat="Server">

  <div id="navigation">

        	<div id="navigation_wrap">

                <!-- Start contact info area -->
                
                <div id="conteactinfo">                
                    <div id="logo">    
                         <a href="../Default.aspx" title="Home"><img src="../../App_Themes/Eutoliso/images/logo-orange.png" alt=""/></a>  
                    </div>    
                    <span></span>                
                </div>

                <!-- End contact info area -->


  <!-- Start navigation -->
                    <div id="navi">
                        <ul>
                            <li><a href="Categoria.aspx" title="Home">
                                <img src="../../App_Themes/Eutoliso/images/home32.png" alt=""/></a>
                            </li>
                            
                            <li><a href="#" title="Mensagens">
                                <img src="../../App_Themes/Eutoliso/images/mail32.png" alt=""/></a>
                            </li>

                            <li><a href="#" title="Configurações">
                                <img src="../../App_Themes/Eutoliso/images/spanner32.png" alt=""/></a>
                            </li>

                            <li><a href="#" title="Área de Análises">
                                <img src="../../App_Themes/Eutoliso/images/bargraph32.png" alt=""/></a>
                            </li>

                            <li><a href="#" title="Pesquisa Rápida">
                                <img src="../../App_Themes/Eutoliso/images/search32.png" alt=""/></a>
                            </li>

                            <li class="color8">
                                 <asp:LoginName ID="LoginName1" runat="server" />
                                 
                            </li>
                            
                            <li><a  title="Sair">
                                
                                <asp:LoginStatus ID="LoginStatus2" runat="server" LoginText="Entrar"  LogoutAction="Redirect" LogoutPageUrl="~/Index.aspx" LogoutImageUrl="~/App_Themes/Eutoliso/images/unlockgreen32.png" />
                                </a>
                         
                            </li>
                        </ul>
                    </div>
                <!-- End navigation -->


</div>
        
        </div>
        <!-- End navigation area -->
        <div class="clear"></div>
        <!-- Start Social & Logo area -->
        <div id="header_small">
        	<!-- Start Social area -->
            
           
        	<div class="social"> </div>
                
            </div>
            <!-- End Socialarea -->
            
            <!-- Start Logo area -->
           
            <!-- End Logo area -->



</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="login_header" Runat="Server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="header_pos_menu" Runat="Server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="body_pre_central" Runat="Server">

 <!-- Start H1 Title -->
    <div class="titlesnormal">
    
    	<h1>Bem-Vindo user XXX, sua ultima visita foi em: XX/XX/XXXX ----- Sair</h1>
        
        <span></span>
    <!-- End H1 Title -->
    </div>
        <div class="boxes-padding fullpadding">
            	
                <!-- Start None Split Section -->
            	<div class="splitnone">
                
                    <div id="portfolio-filter-choice"><a href="portfolio-2-column.html" title="2 Column Portfolio"><img src="images/2column.png" alt="2 Column Portfolio" width="25" height="25"></a> <a href="portfolio-3-column.html" title="3 Column Portfolio"><img src="images/3column.png" alt="3 Column Portfolio" width="25" height="25"></a> <a href="portfolio.html" title="4 Column Portfolio"><img src="images/4column.png" alt="4 Column Portfolio" width="25" height="25"></a></div>
                
                	<!-- Start Portfolio Filter -->
               	  <div id="portfolio-filter">
                    
                    	<ul>
                        	
                            <li><strong>Filter: </strong></li>
                            <li><a href="#portfolio-filter" title="All" class="orangebutton smallrectange" data-filter="*">show all</a></li>
                        	<li><a href="#portfolio-filter" title="Web Design" class="orangebutton smallrectange" data-filter=".web">Web Design</a></li>
                            <li><a href="#portfolio-filter" title="Graphic Design" class="orangebutton smallrectange" data-filter=".graphic">Graphic Design</a></li>
                            <li><a href="#portfolio-filter" title="Print Design" class="orangebutton smallrectange" data-filter=".print">Print Design</a></li>
                            <li><a href="#portfolio-filter" title="Logo Design" class="orangebutton smallrectange" data-filter=".logo">Logo Design</a></li>
                        
                        </ul>
                    
                    </div>
                    <!-- End Portfolio Filter -->
                
                </div>
            	<!-- End None Split Section -->

            </div> 
       

</asp:Content>
<asp:Content ID="Content7" ContentPlaceHolderID="body_central" Runat="Server">


 <!-- Start Box -->
        <div class="boxes-full">
       
        	<div class="boxes-padding fullpadding">
            	
                <!-- Start None Split Section -->
            	<div class="splitnone">
                
                	<div id="portfolio-container">
                    
                    	<!-- Start 4 column portfolio -->
                        <div class="element web">
                        
                        	 <div class="col1">           				
		                        <div class="wrapper_01">
                                       <li class="under_02"><a href="../../Index.aspx" class="active">Página Inicial</a></li>
		                               <li class="under_02"><a href="#">Menu Principal</a></li>
			                           <li class="under_02"><a href="#">Empregos</a></li>			                           
			                           <li class="under_02"><a href="AreaAtuacao.aspx" >Áreas de Atuação</a></li>			                                                                  
			                           <li class="under_02"><a href="#">Sair</a></li>
			                    </div>									
                            </div>
                        
                        </div>

                        <div class="element graphic">

                        <asp:Button ID="btnAddEmprego" runat="server" Text="Adicionar Novo Emprego" 
                                onclick="btnAddEmprego_Click" />
  
                        </div> 
                        
                        
                           <div class="element2 web">
                                   
                                   <li><asp:Label ID="lblTitulo" runat="server" Text="Título"></asp:Label></li>
                                   <li>
                                       <asp:TextBox ID="txtTitulo" runat="server" Width="362px"></asp:TextBox>
                                   </li> 

                                   <br />                                    

                                   <li><asp:Label ID="lblFuncao" runat="server" Text="Função da Proposta"></asp:Label></li>
                                   <li>
                                       <asp:TextBox ID="txtFuncao" runat="server" Width="362px"></asp:TextBox>
                                   </li> 

                                   <br />

                                   <li><asp:Label ID="lblRequisito" runat="server" Text="Requistos"></asp:Label></li>
                                   <li>
                                       <asp:TextBox ID="txtRequisito" runat="server" Width="152px"></asp:TextBox>
                                   </li> 

                                   <br />

                                   <li><asp:Label ID="lblValor" runat="server" Text="Valor da Proposta"></asp:Label></li>
                                   <li>
                                       <asp:TextBox ID="txtValorProposta" runat="server" Width="152px"></asp:TextBox>
                                   </li> 

                                   <br />

                                      <li><asp:Label ID="lblEntrada" runat="server" Text="Entrada"></asp:Label></li>
                                   <li>
                                   <asp:DropDownList ID="ddlEmpEntrada" runat="server" AppendDataBoundItems="True" Width="362px">
                                      <asp:ListItem>Selecione</asp:ListItem>
                                   </asp:DropDownList>                                       
                                   </li>                                    

                                   <br />

                                   <li><asp:Label ID="lblEstado" runat="server" Text="Estado"></asp:Label></li>
                                   <li>                                   
                                   <asp:DropDownList ID="ddlEmpEstado" runat="server" Width="362px">
                                      <asp:ListItem>Selecione</asp:ListItem>
                                   </asp:DropDownList>
                                   </li>

                                   <br />

                                   <li><asp:Label ID="lbl" runat="server" Text="Cidade"></asp:Label></li>
                                   <li class="">                                  
                                   <asp:DropDownList ID="ddlEmpCidade" runat="server" Width="362px">
                                      <asp:ListItem>Selecione</asp:ListItem>
                                   </asp:DropDownList>                                   
                                   </li>

                                   <br />

                                   <li><asp:Label ID="lblCategoria" runat="server" Text="Tipo de Função"></asp:Label></li>
                                   <li>                                   
                                   <asp:DropDownList ID="ddlEmpCategoria" runat="server" Width="362px">
                                      <asp:ListItem>Selecione</asp:ListItem>
                                   </asp:DropDownList>
                        	       </li>

                                   <br />

                                   <li><asp:Label ID="lblIntroducao" runat="server" Text="Introdução da Função"></asp:Label></li>
                                   <li>
                                       <asp:TextBox ID="txtIntroducao" runat="server" Width="362px" TextMode="MultiLine" Height="139px"></asp:TextBox>
                                   </li> 

                                   <br />

                                   <li><asp:Label ID="lblDescricao" runat="server" Text="Descrição da Função"></asp:Label></li>
                                   <li>
                                       <asp:TextBox ID="txtDescricao" runat="server" Width="362px" TextMode="MultiLine" Height="279px"></asp:TextBox>
                                   </li>                                  
                                                                                                  
                                
                               <asp:EntityDataSource ID="EntityDataSourceEmpregos" runat="server" 
                                   ConnectionString="name=eutolisoEntities" 
                                   DefaultContainerName="eutolisoEntities" EnableDelete="True" 
                                   EnableFlattening="False" EnableInsert="True" EnableUpdate="True" 
                                   EntitySetName="emprego">
                               </asp:EntityDataSource>
                        	
                              
                        	
                        </div>                                                                                    
                        


                         <div class="element2 web">


                         </div>

                         <div class="element2 web">

                             <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                                 ConnectionString="<%$ ConnectionStrings:eutolisoString %>" 
                                 SelectCommand="SELECT emprego.emp_id, emprego.emp_titulo, emprego.emp_empresa, emprego.emp_funcao, emprego.emp_requisito, emprego.emp_entrada, emprego.emp_valor, emprego.emp_descricao, emprego.emp_introducao, empregoCategoria.emc_nome, cidade.cid_nome, estado.est_nome, estado.est_uf FROM cidade INNER JOIN emprego ON cidade.cid_id = emprego.emp_cidade INNER JOIN empregoCategoria ON emprego.emp_categoria = empregoCategoria.emc_id INNER JOIN estado ON cidade.cid_estado = estado.est_id">
                             </asp:SqlDataSource>

                         </div>
                       


                          <div class="element2 web">
                        
                        	   <custom:WebWindow ID="wwdAddEmprego" Hide="true" WindowTitleText="Adicionar Novo Emprego" runat="server">
                               



                           
                               </custom:WebWindow>                                                                                                                                                                           
                                                                                                                                                           
                          </div>       


                         <div class="element2 web">
                        
                        	   <custom:WebWindow ID="webWAddEmpregoCategoria" Hide="true" WindowTitleText="Adicionar Nova Categoria" runat="server">
                           
                              <asp:DetailsView ID="EmpregoDetailsView" runat="server" Height="50px" 
                                    Width="312px" AutoGenerateRows="False"  DefaultMode="Insert">
                                    <Fields>
                                      
                                        <asp:BoundField DataField="" HeaderText="Categoria" 
                                            SortExpression="" />
                                        <asp:CommandField ShowInsertButton="True" />
                                    </Fields>



                                </asp:DetailsView>
                           
                           
                           </custom:WebWindow>
                               
                             
                               
                                                
                                <%--<div class="title">Tuts Premium<span class="titlearrow"></span></div>
                                <div class="portfolioimage"><a href="../../App_Themes/Eutoliso/images/iconAnalysisBlack.jpg" rel="prettyPhoto" title="Lorem ipsum dolor sit amet"><img src="../../App_Themes/Eutoliso/images/iconAnalysisBlack.jpg" alt="Lorem ipsum dolor sit amet" /></a></div>
                                <div class="text">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas non ipsum nunc<span class="textarrow"></span></div>--%>
                            
                          
                        
                        </div>       
                  
                       
                        <!-- End 4 column portfolio -->
                    
                    </div>
                
                </div>
            	<!-- End None Split Section -->

            </div>

            <span class="box-arrow"></span>
        
        </div>
        <!-- End Box -->





</asp:Content>
<asp:Content ID="Content8" ContentPlaceHolderID="body_pos_central" Runat="Server">
</asp:Content>
<asp:Content ID="Content9" ContentPlaceHolderID="body_pos_a_central" Runat="Server">
</asp:Content>
<asp:Content ID="Content10" ContentPlaceHolderID="footer_twitter_realtime" Runat="Server">
</asp:Content>
<asp:Content ID="Content11" ContentPlaceHolderID="footer_search" Runat="Server">
</asp:Content>
<asp:Content ID="Content12" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
</asp:Content>

